/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package generatorGraphics.graphicsCategory;

import generatorGraphics.graphics.GraphInterface;
import java.awt.GridBagConstraints;
import java.util.ArrayList;
import javax.swing.ImageIcon;

/**
 *
 * @author Heitor
 */
public class Custom implements CategoryInterface {
    
    private String name;
    private int id;
    
    private int typeOptions;
    
    private ArrayList<GraphInterface> graphicsList;
    private ImageIcon image;
    
    private String pathImage = "/generatorGraphics/images/30.png";
    
    /**
     * Método extra para geração de icones (Em analise)
     */
    private static final GridBagConstraints gbc;  
    static {  
        gbc = new GridBagConstraints();  
        gbc.gridx = 0;  
        gbc.gridy = 0;  
        gbc.weightx = 1.0;  
        gbc.weighty = 1.0;  
        gbc.fill = GridBagConstraints.BOTH;  
        gbc.anchor = GridBagConstraints.NORTHWEST;  
    }
    
    /**
     * Construtor
     */
    public Custom(){
        this.name = "Custom";
        this.id = 105;
        this.typeOptions = 2;
        
        this.graphicsList = new ArrayList<>();
        
        this.image = new ImageIcon(EnergyConsumption.class.getResource(pathImage));
        
        configuration();
    }
    
    private void configuration(){
    
        
    }

    @Override
    public String getName() {
        return name;
    }

    @Override
    public Integer getId() {
        return id;
    }

    @Override
    public ArrayList<GraphInterface> getGraphicsList() {
        return graphicsList;
    }

    @Override
    public ImageIcon getImage() {
        return image;
    }

    @Override
    public Integer getTypeOptions() {
        return typeOptions;
    }
    
}
